package com.kh.statistics.video.helper;

import com.kh.statistics.video.entity.VideoAccountsHealth;
import com.kh.statistics.video.entity.VideoAccountsLogin;

/**
 * @BelongsProject: statistics
 * @BelongsPackage: com.kh.statistics.video.helper
 * @Author: Hong.Kong
 * @CreateTime: 2024-05-24  17:16
 * @Description: TODO
 * @Version: 1.0
 */
public class VideoAccountsHealthHelper {

    public static VideoAccountsHealth getVideoAccountsHealth(VideoAccountsLogin videoAccountsLogin) {
        VideoAccountsHealth videoAccountsHealth = new VideoAccountsHealth();
        videoAccountsHealth.setId(videoAccountsLogin.getId());
        videoAccountsHealth.setTimestamp(System.currentTimeMillis());
        videoAccountsHealth.setPlatform(videoAccountsLogin.getPlatform());
        videoAccountsHealth.setClient(videoAccountsLogin.getClient());
        videoAccountsHealth.setStatus(0);
        return videoAccountsHealth;
    }
}
